#! encoding=utf-8

from alpha2.camera import add, get, delete,update,getCamera


if __name__ == '__main__':
    # tag = '{"age":30,"name":"技术支持","gender":"男"}'
    # name = '桌面'
    # url = 'rtsp://192.169.1.10/user=admin&password=&channel=1&stream=0.sdp'
    # attached_params = '{"type":"c2"}'
    # add(name, url, attached_params)

    # get()
    # delete('1')
    # update('3', name, url, attached_params)
    getCamera('3')